//
//  HRHomeXBSController.m
//  Economical report
//
//  Created by wyzc on 16/6/23.
//  Copyright © 2016年 叶落知秋. All rights reserved.
//

#import "HRHomeXBSController.h"
#import "HRReDianViewController.h"
#import "HRHongGuanViewController.h"
#import "HRZhengQuanViewController.h"
#import "HRJinRongViewController.h"
#import "HRKeJiViewController.h"
#import "HRQuanQiuShiChangViewController.h"
#import "HRShangYeViewController.h"
#import "HRGuanDianViewController.h"
#import "HRShangYeViewController.h"
#import <AFNetworking.h>
@interface HRHomeXBSController ()


@end

@implementation HRHomeXBSController
- (instancetype)init{
    if ([super initWithTagViewHeight:40]) {
        
    }
    return self;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    
    
//    UIViewController *controller=[[UIViewController alloc] init];
//    controller.navigationItem.title=@"21世纪经济报道";
//    self.navigationController.navigationBar.barTintColor = [UIColor blueColor];
    
    self.tagItemSize=CGSizeMake(60,40);

    
    self.selectedTitleColor=HRCOLOR(0, 200, 130);
    self.selectedTitleFont=[UIFont systemFontOfSize:13];
    
    self.normalTitleColor=[UIColor blackColor];
    self.normalTitleFont=[UIFont systemFontOfSize:13];
    
    self.backgroundColor=[UIColor whiteColor];
    
    NSArray *titleArray=@[@"热点",@"宏观",@"证券",@"金融",@"科技",@"全球市场",@"生活家",@"观点",@"商业"];
    NSArray *className=@[[HRReDianViewController class],[HRHongGuanViewController class],[HRZhengQuanViewController class],[HRJinRongViewController class],[HRKeJiViewController class],[HRQuanQiuShiChangViewController class],[HRShangYeViewController class],[HRGuanDianViewController class],[HRShangYeViewController class]];
    [self reloadDataWith:titleArray andSubViewdisplayClasses:className withParams:nil];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
